package com.example.WebSocketDemo.service;

import com.example.WebSocketDemo.bean.RecentMessage;

import java.util.List;

public interface RecentMessageService {
    List<RecentMessage> getRecentMessageByUserName(String username);

    void updateRecentMessage(String message,String from,String to);

    void updateUnreadMessageCount(String from,String to);
}
